﻿package entity;

/** 
 * 系统用户表
 */
public class user
{
  /**
   * 用户编号
   */
  protected int uid;
  /**
   * 用户名称
   */
  protected String uname;
  /**
   * 用户密码
   */
  protected String upass;
  /**
   * 用户职位
   */
  protected String ujob;
  /**
   * 用户性别
   */
  protected String usex;
  /**
   * 用户电话
   */
  protected String utel;
  /**
   * 用户年龄
   */
  protected int uage;

  public user()
  {
  }
 
  public user(int uid, String uname, String upass, String ujob, String usex, String utel, int uage) {
	super();
	this.uid = uid;
	this.uname = uname;
	this.upass = upass;
	this.ujob = ujob;
	this.usex = usex;
	this.utel = utel;
	this.uage = uage;
}

/**
   * 获取用户编号
   */
  public int getUid()
  {
    return uid;
  }
  /**
   * 设置用户编号
   */
  public void setUid(int value)
  {
    this.uid = value;
  }
  /**
   * 获取用户名称
   */
  public String getUname()
  {
    return uname;
  }
  /**
   * 设置用户名称
   */
  public void setUname(String value)
  {
    this.uname = value;
  }
  /**
   * 获取用户密码
   */
  public String getUpass()
  {
    return upass;
  }
  /**
   * 设置用户密码
   */
  public void setUpass(String value)
  {
    this.upass = value;
  }
  /**
   * 获取用户职位
   */
  public String getUjob()
  {
    return ujob;
  }
  /**
   * 设置用户职位
   */
  public void setUjob(String value)
  {
    this.ujob = value;
  }
  /**
   * 获取用户性别
   */
  public String getUsex()
  {
    return usex;
  }
  /**
   * 设置用户性别
   */
  public void setUsex(String value)
  {
    this.usex = value;
  }
  /**
   * 获取用户电话
   */
  public String getUtel()
  {
    return utel;
  }
  /**
   * 设置用户电话
   */
  public void setUtel(String value)
  {
    this.utel = value;
  }
  /**
   * 获取用户年龄
   */
  public int getUage()
  {
    return uage;
  }
  /**
   * 设置用户年龄
   */
  public void setUage(int value)
  {
    this.uage = value;
  }

	@Override
	public String toString() {
		return "user [uid=" + uid + ", uname=" + uname + ", upass=" + upass + ", ujob=" + ujob + ", usex=" + usex
				+ ", utel=" + utel + ", uage=" + uage + "]";
	}
 

}

